using Castle.ActiveRecord;
using DecisionesInteligentes.iEvalua.Models;

namespace DecisionesInteligentes.iEvalua.Tests.Helpers
{
	public static class ModelMocks {
		public static User GetUser()
		{
			return new User
			{
				Id = 1,
				Name = "Test User",
				Username = "test.user",
				Password = "8E5JwQ==gSMGe3f69bVDaTwHlEYP4vaqW2w=",
				ConfirmPassword = "8E5JwQ==gSMGe3f69bVDaTwHlEYP4vaqW2w=",
				Email = "test.user@test.com",
				Application = new Application {Id = 1, Name = "Test"}
			};
		}
		
		public static Role GetRole()
		{
			return new Role
			{
				Id = 1,
				Name = "Administrator",
				Application = new Application {Id = 1, Name = "Test"}
			};
		}
	}
}
